---------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/log/Table_A8_Results.log
  log type:  text
 opened on:  15 May 2024, 11:47:22

. eststo clear

. use "$rootpath/processed_data/TRI_estimation_data.dta", clear

. sort frsnumber year

. xtset frsnumber year
       panel variable:  frsnumber (unbalanced)
        time variable:  year, 2010 to 2019, but with gaps
                delta:  1 unit

. 
. reghdfe  log_damage2 treatXpost, absorb(frsnumber n5#year) vce(cluster frsnumber)
(dropped 1375 singleton observations)
(MWFE estimator converged in 143 iterations)

HDFE Linear regression                            Number of obs   =    112,282
Absorbing 2 HDFE groups                           F(   1,  13393) =      11.69
Statistics robust to heteroskedasticity           Prob > F        =     0.0006
                                                  R-squared       =     0.9243
                                                  Adj R-squared   =     0.9120
                                                  Within R-sq.    =     0.0004
Number of clusters (frsnumber) =     13,394       Root MSE        =     0.7007

                         (Std. Err. adjusted for 13,394 clusters in frsnumber)
------------------------------------------------------------------------------
             |               Robust
 log_damage2 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -.1436611   .0420093    -3.42   0.001    -.2260052    -.061317
       _cons |   2.343519   .0073245   319.96   0.000     2.329162    2.357876
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
   frsnumber |     13394       13394           0    *|
     n5#year |      2223           1        2222     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store damages_1

. 
. reghdfe  log_crit_emissions treatXpost, absorb(frsnumber n5#year) vce(cluster frsnumber)
(dropped 1375 singleton observations)
(MWFE estimator converged in 139 iterations)

HDFE Linear regression                            Number of obs   =    112,282
Absorbing 2 HDFE groups                           F(   1,  13393) =      23.47
Statistics robust to heteroskedasticity           Prob > F        =     0.0000
                                                  R-squared       =     0.9410
                                                  Adj R-squared   =     0.9315
                                                  Within R-sq.    =     0.0009
Number of clusters (frsnumber) =     13,394       Root MSE        =     0.3971

                         (Std. Err. adjusted for 13,394 clusters in frsnumber)
------------------------------------------------------------------------------
             |               Robust
log_crit_e~s |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
  treatXpost |  -.1202705   .0248279    -4.84   0.000    -.1689366   -.0716043
       _cons |   1.007751   .0043289   232.80   0.000     .9992653    1.016236
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-----------------------------------------------------+
 Absorbed FE | Categories  - Redundant  = Num. Coefs |
-------------+---------------------------------------|
   frsnumber |     13394       13394           0    *|
     n5#year |      2223           1        2222     |
-----------------------------------------------------+
* = FE nested within cluster; treated as redundant for DoF computation

. estimates store emissions_1

. 
. esttab damages_1 emissions_1 using "$rootpath/table_graph/TBL_A8.tex",  star( * 0.1 ** 0.05 *** 0.01) cells(b(star fmt(3)) se(par fmt(3))) keep(treatXp
> ost _cons) scalars(N F) ar2 replace 
(note: file /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/table_graph/TBL_A8.tex not found)
(output written to /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/table_graph/TBL_A8.tex)

. log close
      name:  <unnamed>
       log:  /Users/wesleyblundell/Dropbox/Wes_Supplemental_NEI/JAERE_Replication/Replication_package/log/Table_A8_Results.log
  log type:  text
 closed on:  15 May 2024, 11:47:28
---------------------------------------------------------------------------------------------------------------------------------------------------------
